package com.atguigu.practice;

public class StringBufferTest2 {
    public static void main(String[] args) {
        StringBuffer a=new StringBuffer("A");
        StringBuffer b=new StringBuffer("B");
        operate(a,b);
        System.out.println(a+"."+b);
        System.out.println("啊你干嘛");
    }
    private static void operate(StringBuffer x,StringBuffer y){
        x.append(y);
        y=x;
    }
}
